<?php

namespace app\controllers\v1;

use core\base\Controller;
use core\db\Db;
use core\extend\IdCardHandle;

class DemoController extends Controller
{
    public function demo()
    {
        $obj = new IdCardHandle();
        $res = $obj->getIsUnderAge(372922200412077876);
        vd($res);
//        $info = Db::query('select * from school');
//        pd($info);
    }

    public function route1()
    {
        echo '我是路由分组1';
    }

    public function route2()
    {
        echo '我是路由分组2';
    }
}